package com.chen.springboot.mapper.mongoMapper;

import com.chen.springboot.vo.Players;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.mongodb.repository.MongoRepository;
import org.springframework.stereotype.Service;

/**
 * @author chenchao
 * @date 2022/7/2 22:47
 */

@Service
public interface PlayersMapper extends MongoRepository<Players,String> {

    Page<Players> findAll(Pageable pageable);
}
